import turtle as tl

screen = tl.Screen()
screen.title("绘制五角星")
pen = tl.Turtle()
pen.speed(2)
pen.pensize(3)
pen.color("yellow")
side_length = 200

pen.penup()
pen.goto(0, 0)
pen.pendown()
angles = [0, 144, 288, 72, 216]
for angle in angles:
    pen.setheading(angle)
    pen.forward(side_length)

tl.done()
